<?php 
//ob_start();
echo "<pre>";
setcookie("username","test",time()+3600);
echo "the username is:".$_COOKIE["username"]."\n";
print_r($_COOKIE);